Spread Silverlight Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcAverageAFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 1 - 255 items: value1, [value2], [value3], ...

Value1, value2, ... are 1 to 255 cells, ranges of cells, or values for which you want the average.

Calculates the average (arithmetic mean) of the values in the list of arguments.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcAverageAFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 1 - 255 items: value1, [value2], [value3], ...

Value1, value2, ... are 1 to 255 cells, ranges of cells, or values for which you want the average.

Return Value

A System.Object value that indicates the evaluate result.
See Also

Reference

CalcAverageAFunction Class
CalcAverageAFunction Members
Overload List